package com.yoomiito.app.model.config;

import android.os.Parcel;
import android.os.Parcelable;

public class SystemInfo implements Parcelable {

    /**
     * title : 升级啦
     * vice_title : 还在升级啦
     * time : 2019-08-13 15:15:57~2019-08-14 15:16:02
     */

    private String title;
    private String vice_title;
    private String time;
    private String title_time;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVice_title() {
        return vice_title;
    }

    public void setVice_title(String vice_title) {
        this.vice_title = vice_title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTitle_time() {
        return title_time;
    }

    public void setTitle_time(String title_time) {
        this.title_time = title_time;
    }

    @Override
    public String toString() {
        return "SystemInfo{" +
                "title='" + title + '\'' +
                ", vice_title='" + vice_title + '\'' +
                ", time='" + time + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.title);
        dest.writeString(this.vice_title);
        dest.writeString(this.time);
        dest.writeString(this.title_time);
    }

    public SystemInfo() {
    }

    protected SystemInfo(Parcel in) {
        this.title = in.readString();
        this.vice_title = in.readString();
        this.time = in.readString();
        this.title_time = in.readString();
    }

    public static final Creator<SystemInfo> CREATOR = new Creator<SystemInfo>() {
        @Override
        public SystemInfo createFromParcel(Parcel source) {
            return new SystemInfo(source);
        }

        @Override
        public SystemInfo[] newArray(int size) {
            return new SystemInfo[size];
        }
    };
}
